{% extends "base.html" %}

{% block content %}

<h3>用户登录</h3>
<form action="/login" method="post">
    <div class="row">
        <div class="col-8">
            请输入用户名：<input type="text" class="form-control" name="username">
            <br />
            请输入密码：<input type="password" class="form-control" name="password">
            <br />
            <div id="result">{{message}}</div>
            <br />
            <button type="submit" id="submitbtn" class="btn btn-primary">登录</button>
        </div>
    </div>
</form>
{% endblock %}
